import request from '@/utils/request'

// 字典相关接口

export const loadDicts = (dictType: string) => {
  return request.get(`/mock/dict/data/type/${dictType}`)
}

export const loadDictList = (dictTypeList: string[]) => {
  return request.post(`/mock/dict/data/getTypeList`, {
    dictTypeList
  })
}
